@LZBLT But it seems to work if I write the version number at the beginning of the model. Xcode seems to simply take the last sorted file from the package / directory.
but I don't know what effect this has on the live app and the existing database.
We actually have a version number but I don't know if the name of the model is used.
Old Name was eg: BaseDataBaseV1 AddedNewEntityV2 NewEntityAdditionV3
now:
V1BaseDataBase
V2AddedNewEntity
V3NewEntityAddition
I also don't think that the file is ever read for configuration and is simply overwritten directly when the project is open and then works with the new (wrong) values.